home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / graphics / pbm / pbm_man.zoo / man1 / pnmscale.1 < prev    next >
Text File  |  1994-08-27  |  2KB  |  67 lines

  1.  
  2.  
  3.  
  4. pnmscale(1)              USER COMMANDS                pnmscale(1)
  5.  
  6.  
  7.  
  8. NAME
  9.      pnmscale - scale a portable anymap
  10.  
  11. SYNOPSIS
  12.      pnmscale _✓s [_✓p_✓n_✓m_✓f_✓i_✓l_✓e]
  13.      pnmscale -xsize|-width|-ysize| _✓s [_✓p_✓n_✓m_✓f_✓i_✓l_✓e]
  14.      pnmscale -xscale|-yscale _✓s [_✓p_✓n_✓m_✓f_✓i_✓l_✓e]
  15.      pnmscale -xscale|-xsize|-width  _✓s  -yscale|-ysize|-height  _✓s
  16.      [_✓p_✓n_✓m_✓f_✓i_✓l_✓e]
  17.      pnmscale -xysize _✓x _✓y [_✓p_✓n_✓m_✓f_✓i_✓l_✓e]
  18.  
  19. DESCRIPTION
  20.      Reads a portable anymap as input.  Scales it by  the  speci-
  21.      fied  factor  or  factors  and produces a portable anymap as
  22.      output.  If the input file is in color, the output  will  be
  23.      too,  otherwise  it will be grayscale.  You can both enlarge
  24.      (scale factor > 1) and reduce (scale factor < 1).
  25.  
  26.      You can specify one dimension as a pixel size, and the other
  27.      dimension will be scaled correspondingly.
  28.  
  29.      You can specify one dimension as  a  scale,  and  the  other
  30.      dimension will not be scaled.
  31.  
  32.      You can specify different sizes or scales for each axis.
  33.  
  34.      Or, you can use the special -xysize  flag,  which  fits  the
  35.      image  into  the  specified size without changing the aspect
  36.      ratio.
  37.  
  38.      All flags can be abbreviated to their shortest  unique  pre-
  39.      fix.
  40.  
  41.      If you enlarge by a factor of 3 or more, you should probably
  42.      add  a  _✓p_✓n_✓m_✓s_✓m_✓o_✓o_✓t_✓h  step; otherwise, you can see the original
  43.      pixels in the resulting image.
  44.  
  45. SEE ALSO
  46.      pbmreduce(1), pnmenlarge(1), pnmsmooth(1), pnm(5)
  47.  
  48. AUTHOR
  49.      Copyright (C) 1989, 1991 by Jef Poskanzer.
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63. Sun Release 4.0   Last change: 12 January 1991                  1
  64.  
  65.  
  66.  
  67.